How to count repeated words in a string using Java

welcome to shbcf.ru